package com.wing.bill.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 采购账单结算记录
 *
 * @author xiayang
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pur_purchase_bill_settle")
public class PurchaseBillSettle extends BaseEntity<PurchaseBillSettle> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 结算记录编码
     */
    private String code;

    /**
     * 账单ID
     */
    private Long billId;

    /**
     * 账单编码
     */
    @TableField(exist = false)
    private String billCode;

    /**
     * 付款凭证编码
     */
    private String payCertCode;

    /**
     * 付款银行
     */
    private String payBank;

    /**
     * 付款银行
     */
    private String bankAccount;

    /**
     * 付款金额
     */
    private BigDecimal paySum;

    /**
     * 付款人
     */
    private String payPerson;

    /**
     * 付款时间
     */
    private String payTime;

    /**
     * 付款凭证图片
     */
    private String payCertImg;

}
